Don't access region when it might be freed
authorAlexander Larsson <alexl@redhat.com>
Fri, 4 Sep 2009 11:10:35 +0000 (13:10 +0200)
committerAlexander Larsson <alexl@redhat.com>
Fri, 4 Sep 2009 11:10:35 +0000 (13:10 +0200)
commit753f159aad956de1455f5d7c0b2cd8b79a7fb7f5
treee8a5cf8ea36c0939e198493e466dfbc7654c9fe7
parent587bc97d9c88d2eae56cfef1a00e2933f8ea3502
Don't access region when it might be freed

Passing region into _gdk_gc_set_clip_region_internal takes ownership,
so don't use it after that. We can just as well just move the usage
above the call.
gdk/gdkwindow.c